let path=require('path')
let htmlWebpackPlugin=require('html-webpack-plugin')
let miniCssExtractPlugin =require('mini-css-extract-plugin')

module.exports={
    mode:'development',
    devtool:'inline-cheap-source-map', //(inline-|hidden-|eval-)?(nosources-)?(cheap-(module-)?)?source-map$
    output:{
        filename:'./script/[name].js',
    },
    devServer:{
        hot:true,
    },
    performance:{       
        hints:false,  //超出max 给出警告
        maxAssetSize:100,
        
    }
    
}